package com.fingard.dsp.bank.reqrespobj.billpool.Detail;

import com.fingard.xml.XElement;

public class ReqB317OnlineFinancingApplyDetail {
    //票据类型 1-银承 2-商承
    public String billType;
    //票据金额
    public String billAmt;
    //出票日期
    public String drawDate;
    //票据到期日
    public String dueDate;
    //不得转让标记 1-可再转让 0-不得转让
    public String negtbl;
    //承兑人名称
    public String name;
    //承兑人账号
    public String acctid;
    //承兑人开户行号
    public String bankNum;
    //收款人名称
    public String payeeName;
    //收款人账号
    public String payeeAcctid;
    //收款人开户行号
    public String payeeBankNum;
    //到期无条件支付委托
    public String entrspay;
    //合同编号
    public String contractid;
    //发票编号
    public String invcno;
    //出票登记备注
    public String drawmemo;
    public XElement srcXElement;

    public ReqB317OnlineFinancingApplyDetail() {

    }

    public ReqB317OnlineFinancingApplyDetail(XElement p_xelement) throws Exception {
        initDate(p_xelement);
    }

    private void initDate(XElement p_xelement) throws Exception {
        billType = p_xelement.getSingleTextNotNull("BillType");
        billAmt = p_xelement.getSingleTextNotNull("BillAmt");
        drawDate = p_xelement.getSingleTextNotNull("DrawDate");
        dueDate = p_xelement.getSingleTextNotNull("DueDate");
        negtbl = p_xelement.getSingleTextNotNull("Negtbl");
        name = p_xelement.getSingleTextNotNull("Name");
        acctid = p_xelement.getSingleTextNotNull("Acctid");
        bankNum = p_xelement.getSingleTextNotNull("BankNum");
        payeeName = p_xelement.getSingleTextNotNull("PayeeName");
        payeeAcctid = p_xelement.getSingleTextNotNull("PayeeAcctid");
        payeeBankNum = p_xelement.getSingleTextNotNull("PayeeBankNum");
        entrspay = p_xelement.getSingleTextNotNull("Entrspay");
        contractid = p_xelement.getSingleTextNotNull("Contractid");
        invcno = p_xelement.getSingleTextNotNull("Invcno");
        drawmemo = p_xelement.getSingleTextNotNull("Drawmemo");
    }
}
